// 对话框的取消和确认按钮
:root {
  --el-color-primary: #5473e8;
}

// 一级按钮
.dialog-btn1 {
  width: 98px;
  height: 40px;
  border: 1px solid $border-color-base;
  border-radius: $border-radius-small;

  &:nth-of-type(1) {
    margin-right: 10px;

    &:focus, &:hover {
      border-color: $color-primary;
      color: $color-primary;
      background-color: transparent;
    }
  }
}

// message-box
.el-message-box__headerbtn:focus .el-message-box__close,
.el-message-box__headerbtn:hover .el-message-box__close {
  color: $color-primary;
}

// loading
.el-loading-spinner {
  .el-loading-text,
  i {
    color: $color-primary;
  }
}

// 级联选择器
.el-input {
  --el-input-focus-border: #5473e8;
}

.el-cascader .el-input .el-input__inner:focus {
  border-color: $color-primary;
}

.el-cascader__suggestion-item.is-checked {
  color: $color-primary;
}

.el-cascader-node.in-active-path,
.el-cascader-node.is-active,
.el-cascader-node.is-selectable.in-checked-path {
  color: $color-primary;
}

// messagebox 弹窗
.el-message-box {
  border-radius: 4px;
  box-shadow: 0px 0px 6px 0px rgba(28, 39, 80, 0.16);

  .el-message-box__header {
    padding: 14px 30px 14px 27px;
  }

  > div {
    &:not(:first-of-type) {
      padding: 20px 27px;
    }
  }
}

// 二级按钮
.dialog-btn2 {
  width: 78px;
  color: #fff !important;
  height: 24px;
  background: $color-primary !important;
  border-radius: $border-radius-small;
}

// 滑块
// 目前已知官网样式问题
.el-input-number__decrease,
.el-input-number__increase {
  top: 2px;

  &:hover {
    color: $color-primary;

    & ~ .el-input:not(.is-disabled) .el-input__inner {
      border-color: $color-primary
    }
  }
}

// 上传
.el-upload {
  &:hover,
  &:focus {
    border-color: $color-primary;
    color: $color-primary;

    .svg-icon {
      color: $color-primary;
    }

    .el-upload-dragger {
      border-color: $color-primary;
    }
  }

  .el-upload-dragger {
    border: 1px solid $border-color-base;
    border-radius: 2px;
  }
}

// 没有边框的下拉框选择器样式  首页看效果
.data-show {
  width: 210px;
  height: 120px;
  background: #f3f6ff;
  border-radius: 4px;
  padding: 14px;

  .data-show-current {
    font-size: 24px;
    font-weight: 700;
    color: #1f1f1f;
  }

  .data-show-contrast {
    span {
      font-size: 12px;
      font-weight: 400;
      text-align: left;
      //color: #13cc4f;
      color: #fe4455;

      &:nth-child(1) {
        color: #8a8a8a;
      }

      &:nth-child(2) {
        margin: 0 10px;
      }
    }
  }

  .el-select {
    max-width: 80%;
  }

  .el-input__inner {
    font-size: 16px;
    background: none;
    padding-left: 0;
    border: none;

    &::placeholder {
      color: #616161;
    }
  }

}

// 复选框
.el-checkbox {
  outline: none;
}

// 多选框
.el-checkbox__input.is-checked + .el-checkbox__label {
  color: #616161;
}

// 单选按钮
.el-radio-button__original-radio:checked + .el-radio-button__inner {
  background: $color-primary;
}

.el-radio-button__inner:hover {
  color: $color-primary;
}

.el-radio-button {
  --el-radio-button-checked-border-color: $color-primary;
}

.el-radio-button:last-child .el-radio-button__inner {
  border-radius: 0px 2px 2px 0px;
}

.el-radio-button:first-child .el-radio-button__inner {
  border-radius: 2px 0px 0px 2px;
}

.el-radio-button:focus:not(.is-focus):not(:active):not(.is-disabled) {
  box-shadow: none;
}

// Popover 弹出框样式
.popover-prompt {
  font-size: 12px !important;
  z-index: 5001 !important;
  border-radius: $border-radius-base !important;
  box-shadow: 0px 3px 6px 0px rgba(28, 39, 80, 0.16) !important;
}

// 多选下拉框颜色
.el-select-dropdown.is-multiple .el-select-dropdown__item.selected {
  color: $color-primary;
}

.el-select .el-select__tags .el-tag {
  background: #ecf0fd;
  border-radius: $border-radius-small;
}

.el-select .el-input.is-disabled .el-input__inner {
  border-color: var(--el-disabled-border-base);

  &:hover ~ .el-input__suffix .el-select__caret,
  &:focus ~ .el-input__suffix .el-select__caret {
    color: var(--el-select-input-color);
  }
}

.el-select .el-input__inner:focus {
  border-color: $color-primary;
}

// 对话框里的form表单
.el-form-item--small .el-form-item__label {
  padding: 0;
}

// 对话框关闭按钮 houer颜色
.el-dialog__headerbtn:focus .el-dialog__close,
.el-dialog__headerbtn:hover .el-dialog__close {
  color: $color-primary;
}

// 按钮组件 文字形式
.el-button--text {
  font-size: 12px;
  color: $color-primary;

  &:hover,
  &:focus {
    color: $color-primary;
  }
}

// 表格里的tooltip样式  无法:deep修改
.el-popper.is-light {
  font-size: 12px;
  color: $h2-text-color;
  background: $color-white;
  border: none;
  box-shadow: $box-shadow-base;
}

// 输入框带下拉框和搜索的
.el-input-group__append,
.el-input-group__prepend {
  background: #fff;
}

.el-input-group__append {
  .svg-icon {
    cursor: pointer;
  }

  &:hover {
    .svg-icon {
      color: $color-primary;
    }
  }
}


// 下拉菜单 deep无法修改
.el-dropdown__popper.el-popper[role=tooltip] {
  box-shadow: $box-shadow-base;

  .el-dropdown-menu--small .el-dropdown-menu__item {
    &:hover {
      color: $color-primary;
    }
  }
}

// 下拉框
.el-select .el-input.is-focus .el-input__inner,
.el-select:hover .el-input__inner {
  border-color: $color-primary;
}

// 输入框共用默认样式

.el-input__suffix-inner {
  cursor: pointer;

  .svg-icon {
    margin-right: 5px;
  }

  &:hover {
    color: $color-primary;
  }
}

.el-input-group__append,
.el-input-group__prepend {
  border-radius: $border-radius-small;
}

.el-input__inner,
.el-textarea__inner {
  border: 1px solid $border-color-base;
  border-radius: $border-radius-small;
  font-family: inherit;

  &:hover,
  &:focus {
    border-color: $color-primary;

    ~ .el-input__suffix {
      .el-select__caret {
        color: $color-primary;
      }
    }
  }
}

.el-input__suffix-inner {
  &:hover {
    .el-icon-search {
      color: $color-primary;
    }
  }
}

// switch开关组件
.el-switch__core {
  background: #E6E6E6;
  border-color: #E6E6E6;
}

.el-switch__label.is-active {
  font-size: 12px;
  color: #728cec;
}

.el-switch.is-checked .el-switch__core {
  opacity: 0.8;
  background: $color-primary;
  border-radius: 10px;
  border-color: $color-primary;
}

// 对话框
.el-dialog {
  position: relative;
  background: $color-white;
  border-radius: $border-radius-base;
  box-shadow: $box-shadow-base;

  .el-dialog__header {
    background: #f2f2f2;
    padding: 14px 30px 14px 27px;
    border-radius: $border-radius-base $border-radius-base 0 0;
  }

  .el-dialog__body {
    flex: 1;
    padding: 20px 27px;
    //padding-bottom: 0;
    overflow-y: auto;
    overflow-y: overlay;

    ~ .el-dialog__footer {
      padding: 20px 27px;
    }
  }

  .teleport-dialog-btn {
    text-align: right;
    padding: 20px 27px;
  }

  /*.el-input__inner {
    width: 234px;
  }

  .el-form-item {
    &:nth-child(odd) {
      margin-right: 24px;
    }
  }

  .el-form--label-top .el-form-item__label {
    padding: 0;
  }*/

  .el-date-editor.el-input,
  .el-date-editor.el-input__inner {
    width: 100%;
  }
}


// 重置所有滚动条
div {
  &::-webkit-scrollbar {
    width: 6px;
    height: 10px;
  }

  &::-webkit-scrollbar-track-piece {
    background-color: #f8f8f9;
    border-radius: 4px;
  }

  &::-webkit-scrollbar-thumb {
    background-color: #dcdee2;
    border-radius: 4px;
  }

  &::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.4);
  }
}


// 表格
// 排序样式
.el-table {
  .ascending .sort-caret.ascending {
    border-bottom-color: $color-primary;
  }

  .descending .sort-caret.descending {
    border-top-color: $color-primary;
  }
}

// 表格复选框
.el-checkbox__input.is-checked .el-checkbox__inner {
  background-color: $color-primary;
  border-color: $color-primary;
}

.el-checkbox__input.is-indeterminate .el-checkbox__inner {
  background-color: $color-primary;
  border-color: $color-primary;
}

.el-checkbox__inner:hover {
  border-color: $color-primary;
}

.el-checkbox__input.is-focus .el-checkbox__inner {
  border-color: $color-primary;
}

// 隐藏莫名多出来的线
.el-table::before {
  display: none;
}

// 斑马纹
.el-table--striped .el-table__body tr.el-table__row--striped td {
  background-color: #FAFBFD;
}

.el-table--enable-row-transition .el-table__body td {
  transition: none;
}

.el-table--enable-row-hover .el-table__body tr:hover > td {
  background-color: #ECF0FD;
}

.el-table__body {
  tr.hover-row > td {
    background-color: #ecf0fd;
  }

  tr.hover-row.el-table__row--striped > td {
    background-color: #ecf0fd;
  }
}

.el-table--border td:first-child .cell,
.el-table--border th:first-child .cell,
.el-table__body tr td:first-child .cell {
  padding-left: 30px;
}

// hover颜色
.el-table--border {
  border-top-color: $border-color-base;
  border-left: none;

  &::after {
    width: 0;
  }
}

.el-table {
  tr {
    height: 50px;
  }

  .cell {
    font-size: 12px;
    font-weight: 400;
    color: #616161;
  }

  th > .cell {
    font-size: 14px;
    font-weight: 400;
    color: #1f1f1f;
  }

  & > tr, th.is-leaf {
    padding: 0;
    border-bottom: 1px solid $border-color-base !important;;
  }

  td, th.is-leaf {
    border-bottom: 1px solid $border-bottom-color;

    &:last-of-type {
      border-right: none;
    }
  }
}

.el-table--enable-row-transition .el-table__body td {
  border-right: none;
}

.el-table
.el-table--border th {
  border-right: 1px solid $border-color-base;
}


.el-table__fixed::before {
  width: 0;
}

// 选中select下拉框
.el-input.is-focus .el-input__inner {
  border-color: $color-primary;

  ~ .el-input__suffix .el-select__caret {
    color: $color-primary;
  }
}

// (Select组件)下拉选择器
.el-select-dropdown__item {
  font-size: 12px;
  font-weight: 400;
  text-align: left;
  color: $h2-text-color;

  &:hover {
    background-color: $select-hover-color;
  }
}

.el-select-dropdown__item.selected {
  color: $color-primary;
}

.el-popper[role=tooltip] {
  border: none;
  box-shadow: $box-shadow-base;
}

// 日期选择器
.el-date-range-picker.has-sidebar {
  width: 552px;
}

.el-range-editor.is-active, .el-range-editor.is-active:hover, .el-select-v2__wrapper.is-focused {
  border-color: $color-primary;
}

.el-range-editor {
  border-color: $border-color-base;
}

.el-picker__popper.el-popper[role=tooltip] {
  box-shadow: $box-shadow-base;
}

.el-date-editor .el-range-separator {
  width: 15%;
  //line-height: 26px;
}

.el-date-range-picker__content {
  padding: 0;
}

.el-date-range-picker table {
  padding: 17px 28px;
}

.el-date-range-picker__header {
  height: 45px;
  padding: 10px 18px 10px 18px;
  border-bottom: $border-base;
}

.el-date-table td.available:hover {
  color: $color-primary;

  span {
    line-height: 23px;
    border: 1px solid $color-primary;
    border-radius: $border-radius-small;
  }
}

.el-date-table td.today span {
  color: var(--el-color-text-regular);
  font-weight: normal;
}

.el-date-table td span {
  border-radius: $border-radius-small;
}

.el-date-table td.start-date div {
  border-radius: 0;
  margin-left: 10px;
}

.el-date-table td.end-date div {
  border-radius: 0;
  margin-right: 10px;
}

.el-date-table td div {
  height: 24px;
  padding: 0;
}

.el-picker-panel__icon-btn:hover {
  color: $color-primary;
}

.el-picker-panel__shortcut:hover {
  color: $color-primary;
}

.el-date-table td.in-range div, .el-date-table td.in-range div:hover,
.el-date-table.is-week-mode .el-date-table__row.current div,
.el-date-table.is-week-mode .el-date-table__row:hover div {
  background-color: $select-hover-color;
}

.el-date-table td.end-date span, .el-date-table td.start-date span {
  background-color: $color-primary;
}

.el-date-range-picker__content.is-left {
  border-right: $border-base;
}

.el-picker-panel [slot=sidebar], .el-picker-panel__sidebar {
  display: flex;
  align-items: center;
  position: static;
  top: auto;
  left: auto;
  width: 100%;
  padding: 6px;
  border-right: none;
  border-bottom: $border-base;
  caret-color: $color-primary;

  .el-picker-panel__shortcut {
    width: auto;
  }
}

.el-picker-panel__sidebar + .el-picker-panel__body {
  margin-left: auto;
}

.el-date-table th {
  border-bottom: none;
}

// Message 消息提示：默认使用 type=info 时的样式
.el-message {
  &.el-message--info {
    background: $color-white;
    border-radius: $border-radius-small;
    box-shadow: 0 0 6px 0 rgba(28, 39, 80, 0.2);
    border-color: transparent;
    justify-content: center;

    .el-message__content {
      font-size: $h2-text-color;
    }

    .el-icon-info {
      width: 16px;
      height: 16px;
      background: url(../assets/sprites/icons/ok.png);
    }

    .el-icon-info:before {
      content: '';
    }
  }
}

// 按钮
.el-button {
  border-radius: $border-radius-small;
  box-sizing: border-box;

  & > span {
    .svg-icon {
      font-size: 12px;
      margin-right: 5px;
    }
  }

  &.is-disabled {
    &:hover,
    &:focus {
      color: var(--el-button-disabled-font-color) !important;
      cursor: not-allowed;
      //background-image: none;
      //background-color: var(--el-button-disabled-background-color) !important;
      //border-color: var(--el-button-disabled-border-color) !important;
    }
  }

  &.el-button--primary {
    background-color: $color-primary;
    border-color: $color-primary;

    &.is-disabled:hover {
      background-color: #DDE3FB !important;
      border-color: #DDE3FB !important;
      color: #fff !important;
    }
  }

  &.el-button--default:hover {
    border-color: $color-primary;
    color: $color-primary;
  }
}

// 表单label样式
.el-form-item__label {
  font-weight: 700;
}

// textarea placeholder样式
/*.el-textarea__inner::placeholder{
  color: var(--el-input-placeholder-color,var(--el-text-color-placeholder));
  font-family: Arial;
}*/
// 多选、单选按钮样式重置
.el-radio-button__original-radio:checked + .el-radio-button__inner {
  color: $button-checked-text-color;
  background-color: $button-checked-background-color;
  border-color: #5473e8;
  box-shadow: -1px 0 0 0 $button-checked-border-color;
}

.el-radio__input.is-checked + .el-radio__label {
  color: $button-checked-text-color;
}

.el-checkbox-button.is-checked .el-checkbox-button__inner {
  color: $button-checked-text-color;
  background-color: $button-checked-background-color;
  border-color: $button-checked-border-color;
  box-shadow: -1px 0 0 0 #5473e8;
}

.el-radio-button__inner:hover {
  color: $button-checked-text-color;
}

.el-checkbox-button__inner:hover {
  color: $button-checked-text-color;
}

.el-checkbox-button.is-focus .el-checkbox-button__inner {
  border-color: #dcdfe6;
}

.el-checkbox-button.is-checked.is-focus .el-checkbox-button__inner {
  border-color: $button-checked-border-color;
}

.el-checkbox__input.is-checked + .el-checkbox__label {
  color: $button-checked-text-color;
}

.el-slider__bar {
  background-color: $button-checked-border-color;
}

.el-slider__button {
  border-color: $button-checked-border-color;
}

// 重置头条ui组件样式
.market-ui {
  .bui-btn.bui-btn-primary.bui-btn-plain.active,
  .bui-btn.bui-btn-primary.bui-btn-plain.active:hover,
  .bui-btn.bui-btn-primary.bui-btn-plain.focus,
  .bui-btn.bui-btn-primary.bui-btn-plain.focus:hover,
  .bui-btn.bui-btn-primary.bui-btn-plain:focus,
  .bui-btn.bui-btn-primary.bui-btn-plain:focus:hover,
  .open > .dropdown-toggle.bui-btn.bui-btn-primary.bui-btn-plain,
  .open > .dropdown-toggle.bui-btn.bui-btn-primary.bui-btn-plain:hover {
    color: $button-checked-text-color;
    background-color: $button-checked-background-color;
    border-color: $button-checked-border-color;
  }

  .byted-checkbox-button.active:after, .byted-checkbox-button:active:after, .byted-checkbox-button:hover:after {
    border-left: 6px solid $button-checked-border-color;
  }

  .bui-btn {
    padding: 0 15px;
    height: 32px;
    line-height: 30px;
    width: auto;
    min-width: auto;
    font-size: 12px;
  }

  .bui-btn.bui-btn-primary.bui-btn-plain:hover {
    color: $button-checked-text-color;
    background-color: #fff;
    border-color: #e0e0e0;
  }

  .byted-select-panel-item.byted-select-panel-item-active .byted-select-panel-item-name {
    color: $button-checked-text-color !important;
  }

  .byted-radio.checked .bui-radio-input-wrapper {
    border-color: $button-checked-border-color;
  }

  .byted-radio .bui-radio-input-wrapper:after {
    background-color: $button-checked-text-color;
  }

  .byted-checkbox.checked .bui-checkbox-input-wrapper {
    border: 1px solid $button-checked-text-color;
    background-color: $button-checked-text-color;
  }

  .byted-checkbox.checked.secondary .bui-checkbox-input-wrapper,
  .byted-checkbox.indeterminate .bui-checkbox-input-wrapper {
    border: 1px solid $button-checked-text-color;
    background-color: $button-checked-text-color;
  }

  .byted-select-panel-item.byted-select-panel-item-active .byted-select-panel-item-toright .bui-icon-angle-right {
    fill: $button-checked-text-color !important;
  }

  .byted-tabs .bui-tabs-nav-item.active a:after {
    background-color: $button-checked-text-color;
  }

  .byted-input-append {
    display: flex;

    .bui-input {
      height: 32px;
    }

    .bui-input-group-btn {
      vertical-align: top;

      .bui-btn {
        height: 32px;
      }
    }
  }

  .bui-input:hover {
    border-color: $button-checked-border-color;
  }

  .bui-input {
    height: 32px;
    line-height: 20px;

    &:hover {
      border-color: $button-checked-border-color !important;
    }
  }

  .byted-cascader .bui-select-wrapper.active .bui-input[readonly],
  .byted-cascader .bui-select-wrapper.active .bui-select-wrapper-multiple,
  .byted-select .bui-select-wrapper.active .bui-input[readonly],
  .byted-select .bui-select-wrapper.active .bui-select-wrapper-multiple {

    box-shadow: none;
  }

  .byted-cascader .bui-select-wrapper .bui-input:focus,
  .byted-select .bui-select-wrapper .bui-input:focus {
    box-shadow: none;
    border-color: #e0e0e0;
  }

  .bui-cascader-menus .bui-cascader-menu-item .bui-cascader-menu-item-content {
    &:hover {
      color: $button-checked-text-color;

      .bui-menu-item-arrow {
        fill: $button-checked-text-color;
      }
    }
  }

  .bui-cascader-menus .bui-cascader-menu-item.active {
    color: $button-checked-text-color;
  }

  .bui-cascader-menus .bui-cascader-menu-item.active .bui-menu-item-arrow {
    fill: $button-checked-text-color;
  }

  .byted-cascader .bui-select-wrapper-multiple .bui-selected-label,
  .byted-select .bui-select-wrapper-multiple .bui-selected-label {
    font-size: 12px;
  }

  .byted-tag {
    font-size: 12px;
  }

  .byted-cascader .bui-select-wrapper-multiple-collapse,
  .byted-select .bui-select-wrapper-multiple-collapse {
    height: 32px;
  }

  .byted-cascader .bui-select-wrapper-multiple .bui-select-tag,
  .byted-select .bui-select-wrapper-multiple .bui-select-tag {
    font-size: 12px;
    height: 24px;
  }

  .byted-cascader .bui-select-wrapper-multiple,
  .byted-select .bui-select-wrapper-multiple {
    &:hover {
      border-color: $button-checked-border-color;
    }
  }

  .byted-option {
    font-size: 13px;
  }

  .byted-option-selected {
    color: $button-checked-text-color;
  }

  .byted-cascader .bui-select-wrapper .bui-input,
  .byted-select .bui-select-wrapper .bui-input {
    font-size: 13px;
  }

  .market-ui-audience-action-interest .market-ui-action-inerest-form .market-ui-right-form a {
    color: $button-checked-text-color;
  }

  .byted-cascader-plain .bui-select-wrapper.active .bui-input,
  .byted-cascader-plain .bui-select-wrapper:focus .bui-input,
  .byted-cascader-plain .bui-select-wrapper:hover .bui-input,
  .byted-select-plain .bui-select-wrapper.active .bui-input,
  .byted-select-plain .bui-select-wrapper:focus .bui-input,
  .byted-select-plain .bui-select-wrapper:hover .bui-input,
  .market-ui-audience-action-interest .market-ui-action-inerest-form .market-ui-left-form .market-ui-category-word-list-wrap a {
    color: $button-checked-text-color;
  }

  .byted-cascader-plain .bui-select-wrapper.active .bui-select-icon-plain,
  .byted-cascader-plain .bui-select-wrapper:focus .bui-select-icon-plain,
  .byted-cascader-plain .bui-select-wrapper:hover .bui-select-icon-plain,
  .byted-select-plain .bui-select-wrapper.active .bui-select-icon-plain,
  .byted-select-plain .bui-select-wrapper:focus .bui-select-icon-plain,
  .byted-select-plain .bui-select-wrapper:hover .bui-select-icon-plain {
    fill: $button-checked-text-color;
  }

  .market-ui-key-item, .market-ui-list-item-info, .byted-select-panel-item .byted-select-panel-item-name {
    font-size: 12px;
  }

  .market-ui-audience-action-interest .market-ui-action-inerest-form .market-ui-left-form .market-ui-key-word-list-wrap .market-ui-key-words-list .market-ui-key-item {
    padding: 0 12px;
    height: 36px;
  }

  .market-ui-audience-action-interest .market-ui-action-inerest-form .market-ui-left-form .market-ui-key-word-list-wrap .market-ui-key-words-list .market-ui-key-item a {
    color: $button-checked-text-color;
  }

  .market-ui-audience-action-interest .market-ui-action-inerest-form .market-ui-left-form .market-ui-key-word-list-wrap .market-ui-key-words-list .market-ui-key-item a.market-ui-disable-text {
    color: $button-checked-text-color;
    opacity: 0.6;
  }

  .market-ui-audience-action-interest .market-ui-action-inerest-form .market-ui-right-form .market-ui-form-table .market-ui-body .market-ui-list-item {
    margin-bottom: 0;
  }

  .market-ui-operate {
    .byted-icon {
      fill: $button-checked-text-color !important;
      width: 14px !important;
      height: 14px !important;
    }
  }

  .market-ui-correlation-word {
    .byted-icon {
      fill: $button-checked-text-color !important;
    }
  }

  .byted-checkbox .bui-checkbox-input-wrapper {
    width: 14px;
    height: 14px;

    &:hover {
      border-color: $button-checked-text-color;
    }
  }

  .byted-checkbox.indeterminate .bui-checkbox-input-wrapper:after {
    width: 8px;
    top: 5px;
  }

  .byted-link {
    color: $button-checked-text-color;

    &:hover {
      color: $button-checked-text-color;
    }
  }
}

.bui-select-option {
  .byted-option-selected {
    color: $button-checked-text-color !important;
  }
}

// 抽屉样式
.el-drawer {
  box-shadow: -3px 0px 6px 0px rgba(28, 39, 80, 0.16);

  .el-drawer__header {
    flex-shrink: 0;
    margin-bottom: 0;
    padding: 0;
    height: $header-height;

    > span[role="heading"] {
      order: 2;
      padding-left: 20px;
      font-size: 16px;
      color: $h1-text-color;
      font-weight: 700;
    }

    > .el-drawer__close-btn {
      order: 1;
      width: $header-height;
      height: $header-height;
      background-color: #f5f7fb;

      .el-drawer__close {
        font-size: 20px;
      }
    }
  }

  .el-drawer__body {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    flex-grow: 1;
    //padding: 10px;
    background-color: #f3f6ff;
  }
}

//tabs样式
.el-tabs {
  .el-tabs__active-bar {
    background-color: $color-primary
  }

  .el-tabs__item {
    &:hover {
      color: $color-primary
    }
  }

  .el-tabs__item.is-active {
    color: $color-primary
  }
}

// 删除素材 message 样式
.el-message.el-message--warning.message-material-delete {
  padding: 15px 0 15px 15px;
  background-color: $color-white;
  box-shadow: $box-shadow-base;
  border: none;

  > .el-message__content {
    display: flex;
    flex-direction: column;
    overflow: auto;
    max-height: 106px;
    color: rgba(0, 0, 0, 0.65);

    > span {
      position: relative;
      display: flex;
      align-items: center;
      height: 20px;
      line-height: 20px;
      white-space: nowrap;

      &:before {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-right: 5px;
        width: 14px;
        height: 14px;
        border: 1px solid rgba(255, 159, 36, 1);
        border-radius: 100%;
        font-size: 12px;
        font-weight: 700;
        color: rgba(255, 159, 36, 1);
        content: "!";
      }
    }
  }

  > .el-message__icon.el-icon-warning {
    display: none;
  }

  > .el-message__closeBtn.el-icon-close {
    top: 15px;
  }
}

// 单选按钮
.el-radio__input.is-checked {
  .el-radio__inner {
    border-color: $button-checked-text-color;
    background: $button-checked-text-color;
  }

  & + .el-radio__label {
    color: $color-primary;
  }
}

// 图片预览
.el-carousel__arrow {
  width: 60px;
  height: 60px;
  line-height: 60px;
  background-color: rgba(255, 255, 255, .15);
  font-size: 24px;

  &:hover {
    background-color: rgba(255, 255, 255, .3);
  }
}

.el-dialog.is-fullscreen .el-dialog__body .close-icon {
  width: 46px;
  height: 46px;
  line-height: 46px;
  background-color: rgba(255, 255, 255, .15);
  font-size: 24px;

  &:hover {
    background-color: rgba(255, 255, 255, .3);
  }
}

.el-dialog.is-fullscreen .el-dialog__body .el-icon-close {
  font-weight: normal;
  font-size: 26px;
}

.el-select-group__title {
  padding-right: 20px;
}
